[INFO] cloning repository https://github.com/havelkahonza/lowfat-strupy
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/havelkahonza/lowfat-strupy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhavelkahonza%2Flowfat-strupy", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhavelkahonza%2Flowfat-strupy'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a156ecbca857d748e4c0611141304eeb37a379ee
[INFO] building havelkahonza/lowfat-strupy against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhavelkahonza%2Flowfat-strupy" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/havelkahonza/lowfat-strupy on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/havelkahonza/lowfat-strupy
[INFO] finished tweaking git repo https://github.com/havelkahonza/lowfat-strupy
[INFO] tweaked toml for git repo https://github.com/havelkahonza/lowfat-strupy written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/havelkahonza/lowfat-strupy already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a43b3fbb9a9f0d4372e0a5d1e227332dd8520d31ff40ffc640d37df13bf47360
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a43b3fbb9a9f0d4372e0a5d1e227332dd8520d31ff40ffc640d37df13bf47360", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a43b3fbb9a9f0d4372e0a5d1e227332dd8520d31ff40ffc640d37df13bf47360", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a43b3fbb9a9f0d4372e0a5d1e227332dd8520d31ff40ffc640d37df13bf47360", kill_on_drop: false }`
[INFO] [stdout] a43b3fbb9a9f0d4372e0a5d1e227332dd8520d31ff40ffc640d37df13bf47360
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7c5df736fb9c63e542e94b42f383e36873dd11f120e339b61063fdfadcea2b41
[INFO] running `Command { std: "docker" "start" "-a" "7c5df736fb9c63e542e94b42f383e36873dd11f120e339b61063fdfadcea2b41", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling once_cell v1.3.1
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling regex v1.3.6
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling tokio v0.2.16
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling pin-project v0.4.8
[INFO] [stderr]    Compiling futures-executor v0.3.4
[INFO] [stderr]    Compiling futures v0.3.4
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling h2 v0.2.4
[INFO] [stderr]    Compiling hyper v0.13.4
[INFO] [stderr]    Compiling lowfat-strupy v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> src/main.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{Arc, RwLock};
[INFO] [stdout]   |                      ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Body`, `Method`, `Request`, `Response`, `StatusCode`
[INFO] [stdout]  --> src/main.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hyper::{Body, Method, Request, Response, Server, StatusCode};
[INFO] [stdout]   |             ^^^^  ^^^^^^  ^^^^^^^  ^^^^^^^^          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hyper::body::Bytes`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hyper::body::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `once_cell::sync::Lazy`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use once_cell::sync::Lazy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::convert::Infallible`
[INFO] [stdout]  --> src/router.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::convert::Infallible;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/router.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RwLock`
[INFO] [stdout]  --> src/router.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::sync::{RwLock, Arc};
[INFO] [stdout]   |                 ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Server`
[INFO] [stdout]  --> src/router.rs:5:46
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hyper::{Body, Method, Request, Response, Server, StatusCode};
[INFO] [stdout]   |                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hyper::body::Bytes`
[INFO] [stdout]  --> src/router.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hyper::body::Bytes;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `make_service_fn`, `service_fn`
[INFO] [stdout]  --> src/router.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hyper::service::{make_service_fn, service_fn};
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/router.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | use log::{debug, info};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `once_cell::sync::Lazy`
[INFO] [stdout]  --> src/router.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use once_cell::sync::Lazy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `router`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/main.rs:64:70
[INFO] [stdout]    |
[INFO] [stdout] 62 |                   let router = router.clone();
[INFO] [stdout]    |                       ------ captured outer variable
[INFO] [stdout] 63 |                   debug!("New connection has been started");
[INFO] [stdout] 64 |                   Ok::<_, Infallible>(service_fn(move |req| async move {
[INFO] [stdout]    |  ______________________________________________________________________^
[INFO] [stdout] 65 | |                     let router = router.clone();
[INFO] [stdout]    | |                                  ------
[INFO] [stdout]    | |                                  |
[INFO] [stdout]    | |                                  move occurs because `router` has type `Arc<Router>`, which does not implement the `Copy` trait
[INFO] [stdout]    | |                                  move occurs due to use in generator
[INFO] [stdout] 66 | |                     Ok::<_, Infallible>(router.route(req).await)
[INFO] [stdout] 67 | |                 }))
[INFO] [stdout]    | |_________________^ move out of `router` occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `router`, a captured variable in an `FnMut` closure
[INFO] [stdout]   --> src/main.rs:61:56
[INFO] [stdout]    |
[INFO] [stdout] 56 |       let router = Arc::new(Router::new(payload));
[INFO] [stdout]    |           ------ captured outer variable
[INFO] [stdout] ...
[INFO] [stdout] 61 |               .serve(make_service_fn(move |_| async move {
[INFO] [stdout]    |  ________________________________________________________^
[INFO] [stdout] 62 | |                 let router = router.clone();
[INFO] [stdout]    | |                              ------
[INFO] [stdout]    | |                              |
[INFO] [stdout]    | |                              move occurs because `router` has type `Arc<Router>`, which does not implement the `Copy` trait
[INFO] [stdout]    | |                              move occurs due to use in generator
[INFO] [stdout] 63 | |                 debug!("New connection has been started");
[INFO] [stdout] 64 | |                 Ok::<_, Infallible>(service_fn(move |req| async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 67 | |                 }))
[INFO] [stdout] 68 | |             }));
[INFO] [stdout]    | |_____________^ move out of `router` occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lowfat-strupy`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "7c5df736fb9c63e542e94b42f383e36873dd11f120e339b61063fdfadcea2b41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c5df736fb9c63e542e94b42f383e36873dd11f120e339b61063fdfadcea2b41", kill_on_drop: false }`
[INFO] [stdout] 7c5df736fb9c63e542e94b42f383e36873dd11f120e339b61063fdfadcea2b41
